import request from '@/utils/request'
// 每日计划产量达成实时情况
export function yieldReachRate(data) {
  return request({
    url: '/v2/ncjc/ncjc_planschedule/dataBoard/oneDept/yieldReachRate',
    method: 'post',
    data: data
  })
}
// 设备运行状态
export function deviceRunningState(data) {
  return request({
    url: '/v2/ncjc/ncjc_planschedule/dataBoard/oneDept/deviceRunningState',
    method: 'post',
    data: data
  })
}
// 分品相产量及占比
export function materialRate(data) {
  return request({
    url: '/v2/ncjc/ncjc_planschedule/dataBoard/oneDept/materialRate',
    method: 'post',
    data: data
  })
}
// 工序日产量
export function dayOutputGroupByCraft(data) {
  return request({
    url: '/v2/ncjc/ncjc_planschedule/dataBoard/oneDept/dayOutputGroupByCraft',
    method: 'post',
    data: data
  })
}
// 每日总产量
export function countYieldByCraft(data) {
  return request({
    url: '/v2/ncjc/ncjc_planschedule/dataBoard/oneDept/countYieldByCraft',
    method: 'post',
    data: data
  })
}
// 在制品
export function workingMaterialWeight(data) {
  return request({
    url: '/v2/ncjc/ncjc_planschedule/dataBoard/oneDept/workingMaterialWeight',
    method: 'post',
    data: data
  })
}
// 根据生产车间查询工序
export function gainCrafts(data) {
  return request({
    url: '/v2/ncjc/ncjc_base/crafts/gainCrafts',
    method: 'post',
    data: data
  })
}
// 各班组实际到岗情况s
export function actualArrivedByTeam(data) {
  return request({
    url: '/v2/ncjc/ncjc_planschedule/dataBoard/oneDept/actualArrivedByTeam',
    method: 'post',
    data: data
  })
}

// 品相
export function getMaterialByGroup(data) {
  return request({
    url: '/v2/ncjc/ncjc_base/material/getMaterialByGroup',
    method: 'post',
    data: data
  })
}
// 异常工序
export function queryAbnormalProcess(data) {
  return request({
    url: '/v2/ncjc/ncjc_planschedule/dataBoard/oneDept/queryAbnormalProcess',
    method: 'post',
    data: data
  })
}
// 
export function capacityUtilizationRate(data) {
  return request({
    url: '/v2/ncjc/ncjc_planschedule/dataBoard/oneDept/capacityUtilizationRate',
    method: 'post',
    data: data
  })
}
// 每日投入数量
export function dayInputQty(data) {
  return request({
    url: '/v2/ncjc/ncjc_planschedule/dataBoard/oneDept/dayInputQty',
    method: 'post',
    data: data
  })
}

